home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / Editions.a < prev    next >
Text File  |  1996-05-01  |  16KB  |  617 lines

  1. ;
  2. ;    File:        Editions.a
  3. ;
  4. ;    Contains:    Edition Manager Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__EDITIONS__') = 'UNDEFINED' THEN
  19. __EDITIONS__ SET 1
  20.  
  21.     IF &TYPE('__MEMORY__') = 'UNDEFINED' THEN
  22.     include 'Memory.a'
  23.     ENDIF
  24.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  25.     include 'Types.a'
  26.     ENDIF
  27.     IF &TYPE('__FILES__') = 'UNDEFINED' THEN
  28.     include 'Files.a'
  29.     ENDIF
  30.     IF &TYPE('__ALIASES__') = 'UNDEFINED' THEN
  31.     include 'Aliases.a'
  32.     ENDIF
  33.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  34.     include 'Dialogs.a'
  35.     ENDIF
  36.     IF FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED THEN
  37.  
  38.                                                             ; resource types  
  39. rSectionType                    EQU        'sect'                ; ResType of saved SectionRecords 
  40.                                                             ; Finder types for edition files 
  41. kPICTEditionFileType            EQU        'edtp'
  42. kTEXTEditionFileType            EQU        'edtt'
  43. ksndEditionFileType                EQU        'edts'
  44. kUnknownEditionFileType            EQU        'edtu'
  45. kPublisherDocAliasFormat        EQU        'alis'
  46. kPreviewFormat                    EQU        'prvw'
  47. kFormatListFormat                EQU        'fmts'
  48.  
  49.                                                             ; section types 
  50. stSubscriber                    EQU        $01
  51. stPublisher                        EQU        $0A
  52. sumAutomatic                    EQU        0                    ; subscriber update mode - Automatically     
  53. sumManual                        EQU        1                    ; subscriber update mode - Manually 
  54. pumOnSave                        EQU        0                    ; publisher update mode - OnSave            
  55. pumManual                        EQU        1                    ; publisher update mode - Manually 
  56. kPartsNotUsed                    EQU        0
  57. kPartNumberUnknown                EQU        -1                    ; misc 
  58. kPreviewWidth                    EQU        120
  59. kPreviewHeight                    EQU        120                    ; bits for formatsMask 
  60. kPICTformatMask                    EQU        1
  61. kTEXTformatMask                    EQU        2
  62. ksndFormatMask                    EQU        4
  63. ;
  64. ; pseudo-item hits for dialogHooks 
  65. ; the first if for NewPublisher or NewSubscriber Dialogs 
  66. ;
  67.  
  68. emHookRedrawPreview                EQU        150                    ; the following are for SectionOptions Dialog 
  69. emHookCancelSection                EQU        160
  70. emHookGoToPublisher                EQU        161
  71. emHookGetEditionNow                EQU        162
  72. emHookSendEditionNow            EQU        162
  73. emHookManualUpdateMode            EQU        163
  74. emHookAutoUpdateMode            EQU        164
  75. ;
  76. ; the refcon field of the dialog record during a modalfilter 
  77. ; or dialoghook contains one the following 
  78. ;
  79.  
  80. emOptionsDialogRefCon            EQU        'optn'
  81. emCancelSectionDialogRefCon        EQU        'cncl'
  82. emGoToPubErrDialogRefCon        EQU        'gerr'
  83. kFormatLengthUnknown            EQU        -1
  84. ;  one byte, stSubscriber or stPublisher 
  85. ; typedef SignedByte                     SectionType
  86.  
  87. ;  seconds since 1904 
  88. ; typedef unsigned long                 TimeStamp
  89.  
  90. ;  similar to ResType 
  91. ; typedef FourCharCode                     FormatType
  92.  
  93. ;  used in Edition I/O 
  94. ; typedef Handle                         EditionRefNum
  95.  
  96. ;  update modes 
  97. ;  sumAutomatic, pumSuspend, etc 
  98. ; typedef short                         UpdateMode
  99.  
  100.  
  101.  
  102. ; typedef SectionRecord *                SectionPtr
  103.  
  104. ; typedef SectionPtr *                    SectionHandle
  105.  
  106. SectionRecord            RECORD 0
  107. version                     ds.b    1                ; offset: $0 (0)        ;  always 0x01 in system 7.0 
  108. kind                     ds.b    1                ; offset: $1 (1)        ;  stSubscriber or stPublisher 
  109. mode                     ds.w    1                ; offset: $2 (2)        ;  auto or manual 
  110. mdDate                     ds.l    1                ; offset: $4 (4)        ;  last change in document 
  111. sectionID                 ds.l    1                ; offset: $8 (8)        ;  app. specific, unique per document 
  112. refCon                     ds.l    1                ; offset: $C (12)        ;  application specific 
  113. alias                     ds.l    1                ; offset: $10 (16)        ;  handle to Alias Record 
  114. subPart                     ds.l    1                ; offset: $14 (20)        ;  which part of container file 
  115. nextSection                 ds.l    1                ; offset: $18 (24)        ;  for linked list of app's Sections 
  116. controlBlock             ds.l    1                ; offset: $1C (28)        ;  used internally 
  117. refNum                     ds.l    1                ; offset: $20 (32)        ;  used internally 
  118. sizeof                     EQU *                    ; size:   $24 (36)
  119.                         ENDR
  120. EditionContainerSpec    RECORD 0
  121. theFile                     ds        FSSpec            ; offset: $0 (0)
  122. theFileScript             ds.w    1                ; offset: $46 (70)
  123. thePart                     ds.l    1                ; offset: $48 (72)
  124. thePartName                 ds        Str31            ; offset: $4C (76)
  125. thePartScript             ds.w    1                ; offset: $6C (108)
  126. sizeof                     EQU *                    ; size:   $6E (110)
  127.                         ENDR
  128. ; typedef struct EditionContainerSpec *    EditionContainerSpecPtr
  129.  
  130. EditionInfoRecord        RECORD 0
  131. crDate                     ds.l    1                ; offset: $0 (0)        ;  date EditionContainer was created 
  132. mdDate                     ds.l    1                ; offset: $4 (4)        ;  date of last change 
  133. fdCreator                 ds.l    1                ; offset: $8 (8)        ;  file creator 
  134. fdType                     ds.l    1                ; offset: $C (12)        ;  file type 
  135. container                 ds        EditionContainerSpec ; offset: $10 (16) ;  the Edition 
  136. sizeof                     EQU *                    ; size:   $7E (126)
  137.                         ENDR
  138. NewPublisherReply        RECORD 0
  139. canceled                 ds.b    1                ; offset: $0 (0)        ;  O 
  140. replacing                 ds.b    1                ; offset: $1 (1)
  141. usePart                     ds.b    1                ; offset: $2 (2)        ;  I 
  142. filler                     ds.b    1                ; offset: $3 (3)
  143. preview                     ds.l    1                ; offset: $4 (4)        ;  I 
  144. previewFormat             ds.l    1                ; offset: $8 (8)        ;  I 
  145. container                 ds        EditionContainerSpec ; offset: $C (12) ;  I/O 
  146. sizeof                     EQU *                    ; size:   $7A (122)
  147.                         ENDR
  148. NewSubscriberReply        RECORD 0
  149. canceled                 ds.b    1                ; offset: $0 (0)        ;  O 
  150. formatsMask                 ds.b    1                ; offset: $1 (1)
  151. container                 ds        EditionContainerSpec ; offset: $2 (2)    ; I/O
  152. sizeof                     EQU *                    ; size:   $70 (112)
  153.                         ENDR
  154. SectionOptionsReply        RECORD 0
  155. canceled                 ds.b    1                ; offset: $0 (0)        ;  O 
  156. changed                     ds.b    1                ; offset: $1 (1)        ;  O 
  157. sectionH                 ds.l    1                ; offset: $2 (2)        ;  I 
  158. action                     ds.l    1                ; offset: $6 (6)        ;  O 
  159. sizeof                     EQU *                    ; size:   $A (10)
  160.                         ENDR
  161.  
  162. ioHasFormat                        EQU        0
  163. ioReadFormat                    EQU        1
  164. ioNewFormat                        EQU        2
  165. ioWriteFormat                    EQU        3
  166. ; typedef SignedByte                     FormatIOVerb
  167.  
  168.  
  169. eoOpen                            EQU        0
  170. eoClose                            EQU        1
  171. eoOpenNew                        EQU        2
  172. eoCloseNew                        EQU        3
  173. eoCanSubscribe                    EQU        4
  174. ; typedef SignedByte                     EditionOpenerVerb
  175.  
  176. FormatIOParamBlock        RECORD 0
  177. ioRefNum                 ds.l    1                ; offset: $0 (0)
  178. format                     ds.l    1                ; offset: $4 (4)
  179. formatIndex                 ds.l    1                ; offset: $8 (8)
  180. offset                     ds.l    1                ; offset: $C (12)
  181. buffPtr                     ds.l    1                ; offset: $10 (16)
  182. buffLen                     ds.l    1                ; offset: $14 (20)
  183. sizeof                     EQU *                    ; size:   $18 (24)
  184.                         ENDR
  185.  
  186.  
  187. EditionOpenerParamBlock    RECORD 0
  188. info                     ds        EditionInfoRecord ; offset: $0 (0)
  189. sectionH                 ds.l    1                ; offset: $7E (126)
  190. document                 ds.l    1                ; offset: $82 (130)
  191. fdCreator                 ds.l    1                ; offset: $86 (134)
  192. ioRefNum                 ds.l    1                ; offset: $8A (138)
  193. ioProc                     ds.l    1                ; offset: $8E (142)
  194. success                     ds.b    1                ; offset: $92 (146)
  195. formatsMask                 ds.b    1                ; offset: $93 (147)
  196. sizeof                     EQU *                    ; size:   $94 (148)
  197.                         ENDR
  198. ;
  199. ; Section events now arrive in the message buffer using the AppleEvent format.
  200. ; The direct object parameter is an aeTemporaryIDParamType ('tid '). The temporary
  201. ; ID's type is rSectionType ('sect') and the 32-bit value is a SectionHandle.
  202. ; The following is a sample buffer
  203. ; name       offset     contents
  204. ; ----       ------     --------
  205. ; header           0      'aevt'
  206. ; majorVersion     4      0x01
  207. ; minorVersion     6      0x01
  208. ; endOfMetaData     8      ';;;;' 
  209. ; directObjKey     12  '----' 
  210. ; paramType      16  'tid ' 
  211. ; paramLength      20  0x0008 
  212. ; tempIDType      24  'sect' 
  213. ; tempID            28  the SectionHandle <-- this is want you want
  214. ;
  215.  
  216. sectionEventMsgClass            EQU        'sect'
  217. sectionReadMsgID                EQU        'read'
  218. sectionWriteMsgID                EQU        'writ'
  219. sectionScrollMsgID                EQU        'scrl'
  220. sectionCancelMsgID                EQU        'cncl'
  221.  
  222. currentEditionMgrVers            EQU        $0011
  223. ;
  224. ; pascal OSErr InitEditionPackVersion(short curEditionMgrVers)
  225. ;
  226.     IF ¨ GENERATINGCFM THEN
  227.         Macro
  228.         _InitEditionPackVersion
  229.             move.w              #$0100,D0
  230.             dc.w                $A82D
  231.         EndM
  232.     ELSE
  233.         IMPORT_CFM_FUNCTION InitEditionPackVersion
  234.     ENDIF
  235.  
  236. ;
  237. ; pascal OSErr NewSection(const EditionContainerSpec *container, ConstFSSpecPtr sectionDocument, SectionType kind, long sectionID, UpdateMode initalMode, SectionHandle *sectionH)
  238. ;
  239.     IF ¨ GENERATINGCFM THEN
  240.         Macro
  241.         _NewSection
  242.             move.w              #$0A02,D0
  243.             dc.w                $A82D
  244.         EndM
  245.     ELSE
  246.         IMPORT_CFM_FUNCTION NewSection
  247.     ENDIF
  248.  
  249. ;
  250. ; pascal OSErr RegisterSection(const FSSpec *sectionDocument, SectionHandle sectionH, Boolean *aliasWasUpdated)
  251. ;
  252.     IF ¨ GENERATINGCFM THEN
  253.         Macro
  254.         _RegisterSection
  255.             move.w              #$0604,D0
  256.             dc.w                $A82D
  257.         EndM
  258.     ELSE
  259.         IMPORT_CFM_FUNCTION RegisterSection
  260.     ENDIF
  261.  
  262. ;
  263. ; pascal OSErr UnRegisterSection(SectionHandle sectionH)
  264. ;
  265.     IF ¨ GENERATINGCFM THEN
  266.         Macro
  267.         _UnRegisterSection
  268.             move.w              #$0206,D0
  269.             dc.w                $A82D
  270.         EndM
  271.     ELSE
  272.         IMPORT_CFM_FUNCTION UnRegisterSection
  273.     ENDIF
  274.  
  275. ;
  276. ; pascal OSErr IsRegisteredSection(SectionHandle sectionH)
  277. ;
  278.     IF ¨ GENERATINGCFM THEN
  279.         Macro
  280.         _IsRegisteredSection
  281.             move.w              #$0208,D0
  282.             dc.w                $A82D
  283.         EndM
  284.     ELSE
  285.         IMPORT_CFM_FUNCTION IsRegisteredSection
  286.     ENDIF
  287.  
  288. ;
  289. ; pascal OSErr AssociateSection(SectionHandle sectionH, const FSSpec *newSectionDocument)
  290. ;
  291.     IF ¨ GENERATINGCFM THEN
  292.         Macro
  293.         _AssociateSection
  294.             move.w              #$040C,D0
  295.             dc.w                $A82D
  296.         EndM
  297.     ELSE
  298.         IMPORT_CFM_FUNCTION AssociateSection
  299.     ENDIF
  300.  
  301. ;
  302. ; pascal OSErr CreateEditionContainerFile(const FSSpec *editionFile, OSType fdCreator, ScriptCode editionFileNameScript)
  303. ;
  304.     IF ¨ GENERATINGCFM THEN
  305.         Macro
  306.         _CreateEditionContainerFile
  307.             move.w              #$050E,D0
  308.             dc.w                $A82D
  309.         EndM
  310.     ELSE
  311.         IMPORT_CFM_FUNCTION CreateEditionContainerFile
  312.     ENDIF
  313.  
  314. ;
  315. ; pascal OSErr DeleteEditionContainerFile(const FSSpec *editionFile)
  316. ;
  317.     IF ¨ GENERATINGCFM THEN
  318.         Macro
  319.         _DeleteEditionContainerFile
  320.             move.w              #$0210,D0
  321.             dc.w                $A82D
  322.         EndM
  323.     ELSE
  324.         IMPORT_CFM_FUNCTION DeleteEditionContainerFile
  325.     ENDIF
  326.  
  327. ;
  328. ; pascal OSErr OpenEdition(SectionHandle subscriberSectionH, EditionRefNum *refNum)
  329. ;
  330.     IF ¨ GENERATINGCFM THEN
  331.         Macro
  332.         _OpenEdition
  333.             move.w              #$0412,D0
  334.             dc.w                $A82D
  335.         EndM
  336.     ELSE
  337.         IMPORT_CFM_FUNCTION OpenEdition
  338.     ENDIF
  339.  
  340. ;
  341. ; pascal OSErr OpenNewEdition(SectionHandle publisherSectionH, OSType fdCreator, ConstFSSpecPtr publisherSectionDocument, EditionRefNum *refNum)
  342. ;
  343.     IF ¨ GENERATINGCFM THEN
  344.         Macro
  345.         _OpenNewEdition
  346.             move.w              #$0814,D0
  347.             dc.w                $A82D
  348.         EndM
  349.     ELSE
  350.         IMPORT_CFM_FUNCTION OpenNewEdition
  351.     ENDIF
  352.  
  353. ;
  354. ; pascal OSErr CloseEdition(EditionRefNum whichEdition, Boolean successful)
  355. ;
  356.     IF ¨ GENERATINGCFM THEN
  357.         Macro
  358.         _CloseEdition
  359.             move.w              #$0316,D0
  360.             dc.w                $A82D
  361.         EndM
  362.     ELSE
  363.         IMPORT_CFM_FUNCTION CloseEdition
  364.     ENDIF
  365.  
  366. ;
  367. ; pascal OSErr EditionHasFormat(EditionRefNum whichEdition, FormatType whichFormat, Size *formatSize)
  368. ;
  369.     IF ¨ GENERATINGCFM THEN
  370.         Macro
  371.         _EditionHasFormat
  372.             move.w              #$0618,D0
  373.             dc.w                $A82D
  374.         EndM
  375.     ELSE
  376.         IMPORT_CFM_FUNCTION EditionHasFormat
  377.     ENDIF
  378.  
  379. ;
  380. ; pascal OSErr ReadEdition(EditionRefNum whichEdition, FormatType whichFormat, void *buffPtr, Size *buffLen)
  381. ;
  382.     IF ¨ GENERATINGCFM THEN
  383.         Macro
  384.         _ReadEdition
  385.             move.w              #$081A,D0
  386.             dc.w                $A82D
  387.         EndM
  388.     ELSE
  389.         IMPORT_CFM_FUNCTION ReadEdition
  390.     ENDIF
  391.  
  392. ;
  393. ; pascal OSErr WriteEdition(EditionRefNum whichEdition, FormatType whichFormat, const void *buffPtr, Size buffLen)
  394. ;
  395.     IF ¨ GENERATINGCFM THEN
  396.         Macro
  397.         _WriteEdition
  398.             move.w              #$081C,D0
  399.             dc.w                $A82D
  400.         EndM
  401.     ELSE
  402.         IMPORT_CFM_FUNCTION WriteEdition
  403.     ENDIF
  404.  
  405. ;
  406. ; pascal OSErr GetEditionFormatMark(EditionRefNum whichEdition, FormatType whichFormat, unsigned long *currentMark)
  407. ;
  408.     IF ¨ GENERATINGCFM THEN
  409.         Macro
  410.         _GetEditionFormatMark
  411.             move.w              #$061E,D0
  412.             dc.w                $A82D
  413.         EndM
  414.     ELSE
  415.         IMPORT_CFM_FUNCTION GetEditionFormatMark
  416.     ENDIF
  417.  
  418. ;
  419. ; pascal OSErr SetEditionFormatMark(EditionRefNum whichEdition, FormatType whichFormat, unsigned long setMarkTo)
  420. ;
  421.     IF ¨ GENERATINGCFM THEN
  422.         Macro
  423.         _SetEditionFormatMark
  424.             move.w              #$0620,D0
  425.             dc.w                $A82D
  426.         EndM
  427.     ELSE
  428.         IMPORT_CFM_FUNCTION SetEditionFormatMark
  429.     ENDIF
  430.  
  431. ;
  432. ; pascal OSErr GetEditionInfo(SectionHandle sectionH, EditionInfoRecord *editionInfo)
  433. ;
  434.     IF ¨ GENERATINGCFM THEN
  435.         Macro
  436.         _GetEditionInfo
  437.             move.w              #$0422,D0
  438.             dc.w                $A82D
  439.         EndM
  440.     ELSE
  441.         IMPORT_CFM_FUNCTION GetEditionInfo
  442.     ENDIF
  443.  
  444. ;
  445. ; pascal OSErr GoToPublisherSection(const EditionContainerSpec *container)
  446. ;
  447.     IF ¨ GENERATINGCFM THEN
  448.         Macro
  449.         _GoToPublisherSection
  450.             move.w              #$0224,D0
  451.             dc.w                $A82D
  452.         EndM
  453.     ELSE
  454.         IMPORT_CFM_FUNCTION GoToPublisherSection
  455.     ENDIF
  456.  
  457. ;
  458. ; pascal OSErr GetLastEditionContainerUsed(EditionContainerSpec *container)
  459. ;
  460.     IF ¨ GENERATINGCFM THEN
  461.         Macro
  462.         _GetLastEditionContainerUsed
  463.             move.w              #$0226,D0
  464.             dc.w                $A82D
  465.         EndM
  466.     ELSE
  467.         IMPORT_CFM_FUNCTION GetLastEditionContainerUsed
  468.     ENDIF
  469.  
  470. ;
  471. ; pascal OSErr GetStandardFormats(const EditionContainerSpec *container, FormatType *previewFormat, Handle preview, Handle publisherAlias, Handle formats)
  472. ;
  473.     IF ¨ GENERATINGCFM THEN
  474.         Macro
  475.         _GetStandardFormats
  476.             move.w              #$0A28,D0
  477.             dc.w                $A82D
  478.         EndM
  479.     ELSE
  480.         IMPORT_CFM_FUNCTION GetStandardFormats
  481.     ENDIF
  482.  
  483. ;
  484. ; pascal OSErr GetEditionOpenerProc(EditionOpenerUPP *opener)
  485. ;
  486.     IF ¨ GENERATINGCFM THEN
  487.         Macro
  488.         _GetEditionOpenerProc
  489.             move.w              #$022A,D0
  490.             dc.w                $A82D
  491.         EndM
  492.     ELSE
  493.         IMPORT_CFM_FUNCTION GetEditionOpenerProc
  494.     ENDIF
  495.  
  496. ;
  497. ; pascal OSErr SetEditionOpenerProc(EditionOpenerUPP opener)
  498. ;
  499.     IF ¨ GENERATINGCFM THEN
  500.         Macro
  501.         _SetEditionOpenerProc
  502.             move.w              #$022C,D0
  503.             dc.w                $A82D
  504.         EndM
  505.     ELSE
  506.         IMPORT_CFM_FUNCTION SetEditionOpenerProc
  507.     ENDIF
  508.  
  509. ;
  510. ; pascal OSErr CallEditionOpenerProc(EditionOpenerVerb selector, EditionOpenerParamBlock *PB, EditionOpenerUPP routine)
  511. ;
  512.     IF ¨ GENERATINGCFM THEN
  513.         Macro
  514.         _CallEditionOpenerProc
  515.             move.w              #$052E,D0
  516.             dc.w                $A82D
  517.         EndM
  518.     ELSE
  519.         IMPORT_CFM_FUNCTION CallEditionOpenerProc
  520.     ENDIF
  521.  
  522. ;
  523. ; pascal OSErr CallFormatIOProc(FormatIOVerb selector, FormatIOParamBlock *PB, FormatIOUPP routine)
  524. ;
  525.     IF ¨ GENERATINGCFM THEN
  526.         Macro
  527.         _CallFormatIOProc
  528.             move.w              #$0530,D0
  529.             dc.w                $A82D
  530.         EndM
  531.     ELSE
  532.         IMPORT_CFM_FUNCTION CallFormatIOProc
  533.     ENDIF
  534.  
  535. ;
  536. ; pascal OSErr NewSubscriberDialog(NewSubscriberReply *reply)
  537. ;
  538.     IF ¨ GENERATINGCFM THEN
  539.         Macro
  540.         _NewSubscriberDialog
  541.             move.w              #$0232,D0
  542.             dc.w                $A82D
  543.         EndM
  544.     ELSE
  545.         IMPORT_CFM_FUNCTION NewSubscriberDialog
  546.     ENDIF
  547.  
  548. ;
  549. ; pascal OSErr NewSubscriberExpDialog(NewSubscriberReply *reply, Point where, short expansionDITLresID, ExpDlgHookUPP dlgHook, ExpModalFilterUPP filter, void *yourDataPtr)
  550. ;
  551.     IF ¨ GENERATINGCFM THEN
  552.         Macro
  553.         _NewSubscriberExpDialog
  554.             move.w              #$0B34,D0
  555.             dc.w                $A82D
  556.         EndM
  557.     ELSE
  558.         IMPORT_CFM_FUNCTION NewSubscriberExpDialog
  559.     ENDIF
  560.  
  561. ;
  562. ; pascal OSErr NewPublisherDialog(NewPublisherReply *reply)
  563. ;
  564.     IF ¨ GENERATINGCFM THEN
  565.         Macro
  566.         _NewPublisherDialog
  567.             move.w              #$0236,D0
  568.             dc.w                $A82D
  569.         EndM
  570.     ELSE
  571.         IMPORT_CFM_FUNCTION NewPublisherDialog
  572.     ENDIF
  573.  
  574. ;
  575. ; pascal OSErr NewPublisherExpDialog(NewPublisherReply *reply, Point where, short expansionDITLresID, ExpDlgHookUPP dlgHook, ExpModalFilterUPP filter, void *yourDataPtr)
  576. ;
  577.     IF ¨ GENERATINGCFM THEN
  578.         Macro
  579.         _NewPublisherExpDialog
  580.             move.w              #$0B38,D0
  581.             dc.w                $A82D
  582.         EndM
  583.     ELSE
  584.         IMPORT_CFM_FUNCTION NewPublisherExpDialog
  585.     ENDIF
  586.  
  587. ;
  588. ; pascal OSErr SectionOptionsDialog(SectionOptionsReply *reply)
  589. ;
  590.     IF ¨ GENERATINGCFM THEN
  591.         Macro
  592.         _SectionOptionsDialog
  593.             move.w              #$023A,D0
  594.             dc.w                $A82D
  595.         EndM
  596.     ELSE
  597.         IMPORT_CFM_FUNCTION SectionOptionsDialog
  598.     ENDIF
  599.  
  600. ;
  601. ; pascal OSErr SectionOptionsExpDialog(SectionOptionsReply *reply, Point where, short expansionDITLresID, ExpDlgHookUPP dlgHook, ExpModalFilterUPP filter, void *yourDataPtr)
  602. ;
  603.     IF ¨ GENERATINGCFM THEN
  604.         Macro
  605.         _SectionOptionsExpDialog
  606.             move.w              #$0B3C,D0
  607.             dc.w                $A82D
  608.         EndM
  609.     ELSE
  610.         IMPORT_CFM_FUNCTION SectionOptionsExpDialog
  611.     ENDIF
  612.  
  613.     ENDIF
  614.     ENDIF ; __EDITIONS__ 
  615.  
  616.